import React from 'react';
import { Icon, Button } from 'antd';
import { history } from 'umi';
import styles from './LoseEmail.less';

const LoseEmail = () => {
    const handleBack = () => {
        history.push('/user/login');
    };
    return (
        <div className={styles.back}>
            <div className={styles.main}>
                <Icon type="exclamation-circle" style={{ color: '#FF4D4F', fontSize: '70px' }} />
                <p className={styles.size1}>链接已失效</p>
                <p className={styles.size2}>链接已超过5天，已失效</p>
                <Button onClick={handleBack}>返回</Button>
            </div>
        </div>
    );
};

export default LoseEmail;
